package com.talkology.pilot.database.dao;

import com.talkology.pilot.database.model.CreditManager;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CreditManagerMapper {
    int deleteByPrimaryKey(@Param(value="index") Integer index);

    int insert(CreditManager record);

    int insertSelective(CreditManager record);

    CreditManager selectByPrimaryKey(@Param(value="index") Integer index);

    int updateByPrimaryKeySelective(CreditManager record);

    int updateByPrimaryKey(CreditManager record);

    CreditManager selectByStudentId(String studentId);

    List<CreditManager> selectAll();
}